#ifndef MUTEX_H_
#define MUTEX_H_

struct mutex {
    int   locked;
    char *name;
};

void os_mutex_init(struct mutex *lock, char *name);
void os_mutex_lock(struct mutex *lock);
void os_mutex_unlock(struct mutex *lock);

#endif /* MUTEX_H_ */